package com.zx.disneyholidays.bean;

public class CardBean {

    /**
     * ticket : {"card_no":"**** **** **55 6455","end_date":"2024-06-28","id":1,"name":"无线钻石卡","qr_image":"http://dsnqrreplace.dev.zhangxinkeji.com/uploads/20240129/dd43f1fc8487abda2c9d16374203cb01.png","start_date":"2024-01-29"}
     * user : {"id":2,"name":"test","phone":"13366666666","tickets_id":1}
     */

    private TicketBean ticket;
    private UserBean user;

    public TicketBean getTicket() {
        return ticket;
    }

    public void setTicket(TicketBean ticket) {
        this.ticket = ticket;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public static class TicketBean {
        /**
         * card_no : **** **** **55 6455
         * end_date : 2024-06-28
         * id : 1
         * name : 无线钻石卡
         * qr_image : http://dsnqrreplace.dev.zhangxinkeji.com/uploads/20240129/dd43f1fc8487abda2c9d16374203cb01.png
         * start_date : 2024-01-29
         */

        private String card_no;
        private String end_date;
        private String id;
        private String name;
        private String qr_image;
        private String start_date;

        public String getCard_no() {
            return card_no;
        }

        public void setCard_no(String card_no) {
            this.card_no = card_no;
        }

        public String getEnd_date() {
            return end_date;
        }

        public void setEnd_date(String end_date) {
            this.end_date = end_date;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getQr_image() {
            return qr_image;
        }

        public void setQr_image(String qr_image) {
            this.qr_image = qr_image;
        }

        public String getStart_date() {
            return start_date;
        }

        public void setStart_date(String start_date) {
            this.start_date = start_date;
        }
    }

    public static class UserBean {
        /**
         * id : 2
         * name : test
         * phone : 13366666666
         * tickets_id : 1
         */

        private String id;
        private String name;
        private String phone;
        private String tickets_id;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getTickets_id() {
            return tickets_id;
        }

        public void setTickets_id(String tickets_id) {
            this.tickets_id = tickets_id;
        }
    }
}
